<div class="list-menu">
<a href="{:U(MODULE_NAME.'/Product/index')}" class="button-blue">返回产品列表</a>
</div>
<table class="list">
		<thead>
		<tr>
	        <th>编号</th>
	        <th>图片</th> 
	        <th>标题</th>
	        <th>分类</th>
	        <th>供应商</th>
	        <th>发布时间</th>
	        <th>操作</th>
      	</tr>
		</thead>
         <tbody>
		<foreach name='vlist' item='v'>
        <tr>
           <td>{$v.id}</td>
            <td>
              <img src="<if condition='$v.litpic eq null'>__PUBLIC__/image/product.jpg<else/>{$website_url}{$v.litpic}</if>" width="300" />
           </td> 
           <td>{$v.title}</td>
           <td>
           		<foreach name="v.catename" item="cate" >
                {$cate}
              	</foreach>
            </td>
           <td>{$v.supplier}</td>
           <td>{$v.dateline|date='Y-m-d H:i:s', ###}</td>
           <td>
               <a href="{:U(MODULE_NAME.'/Product/delout', array('id' => $v['id']))}" class="button-blue">还原</a>
               <a href="javascript:;" onclick="toConfirm('{:U(MODULE_NAME.'/Product/deltrue',array('id' => $v['id']), '')}', '确实要删除吗？(不可恢复)')" class="button-red" >彻底删除</a>
           </td>
       </tr>
      </foreach>
 </tbody>
</table>
<div class="page" style="clear: both;">{$page}</div>